POST:info/custom_item.json
Commerce APIPOST:info/custom_item.json

POST:info/custom_item.json

Description

Imitate custom item creation. This is useful if you want to get its id.

Topic: Info

Request Body

OrderCustomItemCreate

{
  "grams": 200,
  "height": 150,
  "inventory_location_id": "",
  "length": 150,
  "physical": true,
  "price": 5,
  "tax_class": "",
  "taxable": true,
  "title": "",
  "width": 150
}

Response Body

OrderCustomItem

Response Body Type

Loading module