Back to Aligni.com
Also see show action for detailed XML inventory sublocation response example.

Create a new inventory sublocation.

Required permission: Can manage data.

Examples

# request
curl -X POST -H 'Accept: application/xml' -H 'Content-Type: application/xml' -d "
<inventory_sublocation>
  <name>Bin 51</name>
  <inventory_location_id>1</inventory_location_id>
</inventory_sublocation>" \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/inventory_sublocation

# response (for detailed inventory sublocation XML see show action)
<inventory_sublocation>
  ...
</inventory_sublocation>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String