GET /api/product_batches/:id
Get batch product update

Consult products_batch response schema for resonse details and examples.

Params

Param name Description
id
required

Batch update ID

Validations:

  • Must be a String

Headers

Header name Description
Accept
required
application/vnd.api+json; com.turbosquid.api.version=1
Authorization
required
Token cfxJklEJrtQtlhBifpDkJYqm4sgkhtMy

POST /api/product_batches
Create batch product update

Params

Param name Description
data
required

Resource wrapper

Validations:

  • Must be a Hash

data[type]
required

Validations:

  • Must be a String

data[attributes]
optional

Wrapper for entity attributes

Validations:

  • Must be a Hash

data[attributes][product_batches]
required

Resource wrapper

Validations:

  • Must be an Array of nested elements

data[attributes][product_batches][id]
required

Validations:

  • Must be a String

data[attributes][product_batches][type]
required

Validations:

  • Must be a String

data[attributes][product_batches][attributes]
optional

Wrapper for entity attributes

Validations:

  • Must be a Hash

data[attributes][product_batches][attributes][price]
optional

Validations:

  • Must be a Integer

Headers

Header name Description
Accept
required
application/vnd.api+json; com.turbosquid.api.version=1
Authorization
required
Token cfxJklEJrtQtlhBifpDkJYqm4sgkhtMy