Create Transfer
Changed onTransfer credits from specific batches, in whole or with splits. All credit batches must originate from the same supplier and be owned by the current organisation.
Request
- Base URLhttps://api.isometric.com/registry/v0
- URLhttps://api.isometric.com/registry/v0/transfers
- AuthHTTP bearer
Headers
A secret token identifying the client connecting to the API
Request body
Example request
{
"credit_batch_quantities": [
{
"credit_batch_id": "ctb_1DRBTYA8Q1S07CBY",
"credit_quantity_kg": 1000
}
],
"from_organisation_id": "org_1GB56M1ST1S0GVNA",
"to_organisation_id": "org_1GB56M1ST1S0GVNA",
"supplier_id": "spl_1CC712KFS1S0YKPS",
"notes": "Transferred with care."
}Response
Successful Response
Example response
{
"id": "tfr_1FJGWSY271S0QSMR",
"from_organisation": {
"id": "org_1GB56M1ST1S0GVNA",
"name": "Isometric",
"domain": "isometric.com"
},
"to_organisation": {
"id": "org_1GB56M1ST1S0GVNA",
"name": "Isometric",
"domain": "isometric.com"
},
"credit_batch_size_total": {
"credits": 125.632,
"credit_kgs": 125632
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
the
/response property's maxLength was increased from36to37for the response status - breaking
the
response property's maxLength was increased from36to37for the response status - breaking
the
/response property's maxLength was increased from36to37for the response status - info
the
//request property's maxLength was increased from36to37 - info
the
request property's maxLength was increased from36to37 - info
the
request property's maxLength was increased from36to37 - info
the
request property's maxLength was increased from36to37
- breaking