PUT method to update products custom fields.
Name | Description |
---|---|
account_id required | Your account unique identifier to access API. |
product_custom_id required | Id of custom |
category | Category for the custom field. |
label | Human friendly label for the field. |
description | Description for the custom field. |
selectable_options | Array with strings, only if the type is selectable_options |
PUT
/v2/account/:account_id/product_custom_fields/:product_custom_id
Accept: application/json
Authorization: Token token={account.secret}
Content-Type: json
{
"label": "ID on Facebook",
"category": "Social",
"description": "This field save the contact facebook id"
}
200
{
"_id": "5853d8c2edb7aacab9000045",
"category": "Social",
"name": "facebook_id",
"label": "ID on Facebook",
"description": "This field save the contact facebook id",
"type": "string"
}