Remove products from a shortform

    Remove products from a shortform


    Article summary

    Delete
    /v2/{accessKey}/shortform/{shortformId}/product
    Header parameters
    Authorization
    stringRequired

    Authorization: Bearer

    Path parameters
    accessKey
    stringRequired

    Customer access key

    shortformId
    stringRequired

    shortform id

    Body parameters
    example

    Example of Body

    [
      {
        "productId": 207426
      }
    ]
    Expand All
    items
    object
    productId
    integer (int64)

    Automatically generated unique product ID

    customerProductId
    string

    Customer's product ID and must be unique(defined by the customer).

    Responses
    200

    200

    Result
    "{\n    \"results\": [\n      \t{\n            \"productId\": 1234\n            \"message\": null,\n            \"status\": \"SUCCESS\"\n        }\n        {\n            \"productId\": 1235\n            \"message\": \"The product has already been removed.\",\n            \"status\": \"FAIL\"\n        }\n    ],\n    \"successCount\": 1,\n    \"warnCount\": 0,\n    \"failCount\": 1,\n    \"totalCount\": 2\n}"
    4XX

    4XX

    Result
    "{\n    \"_s\": -000,\n    \"_e\": \"Error message\"\n}"

    What's Next