Archive a product item
Requires the PRODUCT_ITEM.ARCHIVE 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 or reference of the resource.
Headers
x-platform-id
Platform ID.
Response
OK
reference
object_type
id
product_id
The resource ID of the product, that belongs to the product item.
product
name
status
Allowed values:
description
type
The type of the product item.
Allowed values:
model_type
usage_based
Additional settings in case of a USAGE_BASED type.
credits
Additional settings in case of a CREDITS type.
meter_value_calculation
tax_category
The default tax category applied to the product item.
Allowed values:
display_order
unit_name
custom_fields
Custom fields associated to this product item
meter_value_calculation_idDeprecated
The linked meter value calculation, in case of a USAGE_BASED charge type.
report_meter_value_calculation_idsDeprecated
Optional reporting meter value calculations, in case of a USAGE_BASED charge type.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error