Saltar al contenido principal

ProductSyncResponse

Product sync result

totalReceivedint32

Total products received in this batch

Example: 100
newProductsint32

New products created

Example: 50
updatedProductsint32

Existing products updated

Example: 48
skippedint32

Products skipped (no changes)

Example: 0
failedint32

Products that failed to sync

Example: 2
errors object[]

Detailed error list for failed products

  • Array [
  • externalIdstring

    External ID of the failed product

    Example: prod_099
    errorstring

    Error description

    Example: Invalid price: must be positive
  • ]
  • ProductSyncResponse
    {
    "totalReceived": 100,
    "newProducts": 50,
    "updatedProducts": 48,
    "skipped": 0,
    "failed": 2,
    "errors": [
    {
    "externalId": "prod_099",
    "error": "Invalid price: must be positive"
    }
    ]
    }