Archive a product
Requires the PRODUCT.STATUS.UPDATE permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
resourceIdOrReference
The ID of the resource for which the action is posted.
Headers
x-platform-id
Platform ID.
Query parameters
align_product_item_status
Updates the status of product items to the status of the Product, e.g. if theDD Product is Activated, the product items are activated
Response
OK
category_id
The resource ID of the product category, that belongs to the product.
name
reference
product_type
Allowed values:
object_type
id
category
parent_product_id
The resource ID of the original product, to which the product will belong to.
description
status
The status of the product.
Allowed values:
tax_category
The default tax category applied to the product.
Allowed values:
features
The features associated with the product.
custom_fields
display_order
Determines the order in which products are displayed on overview pages and invoices. The lowest number gets the highest priority.
linked_integrations
billing_entity_id
The resource ID of the billing entity linked to this product.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error