Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.25 KB

delete-catalog-object-response.md

File metadata and controls

35 lines (27 loc) · 1.25 KB

Delete Catalog Object Response

Structure

DeleteCatalogObjectResponse

Fields

Name Type Tags Description Getter
Errors List<Error> Optional Any errors that occurred during the request. List getErrors()
DeletedObjectIds List<String> Optional The IDs of all catalog objects deleted by this request.
Multiple IDs may be returned when associated objects are also deleted, for example
a catalog item variation will be deleted (and its ID included in this field)
when its parent catalog item is deleted.
List getDeletedObjectIds()
DeletedAt String Optional The database timestamp
of this deletion in RFC 3339 format, e.g., 2016-09-04T23:59:33.123Z.
String getDeletedAt()

Example (as JSON)

{
  "deleted_at": "2016-11-16T22:25:24.878Z",
  "deleted_object_ids": [
    "7SB3ZQYJ5GDMVFL7JK46JCHT",
    "KQLFFHA6K6J3YQAQAWDQAL57"
  ],
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}