Retrieve Product Custom Field

Retrieve a single product custom field, if the requesting manager has access permissions to it.

  • Method: GET

  • URL: /api/v1/product-custom-fields/{id}/

Successful response (200)

Response (200) - application/json
{
    "id": 66,
    "product_custom_field_enums": [],
    "name": "cf1",
    "data_type": null,
    "default_value": "1",
    "description": null,
    "product": 1584723961091260
}

Not found response (404)

chevron-rightResponse (404) - application/jsonhashtag
{
  "message": "Ain't no cake like that."
}

Request parameters

  • Path parameters: {id} — the ID of the product custom field.

  • Query parameters: none

  • Header parameters: none

  • Body: none

  • Form data: none

Notes

  • This endpoint returns the product custom field object when the requester has the appropriate access permissions.

Was this helpful?