{
"domain": "string",
"api_key": "string",
"auth_timestamp": 0,
"auth_signature": "string",
"channel_id": 0,
"imported_order_id": "string",
"customer_id": 0,
"firstname": "string",
"lastname": "string",
"company": "string",
"email": "string",
"telephone": "string",
"telephone_2": "string",
"currency": "string",
"currency_value": 0,
"payment_method": "string",
"total": 0,
"comment": "string",
"products": [
{
"item_id": 0,
"name": "string",
"model": "string",
"sku": "string",
"quantity": 0,
"price": 0,
"cost": 0
}
],
"credit_note_status_id": 0
}
{
"error": [
"string"
],
"success": true,
"credit_note": {
"credit_note_id": 0,
"order_id": 0,
"imported_order_id": "string",
"location_id": 0,
"channel_id": 0,
"channel": "string",
"payment_method": "string",
"customer_id": 0,
"firstname": "string",
"lastname": "string",
"email": "string",
"name": "string",
"company": "string",
"telephone": "string",
"telephone_2": "string",
"credit_note_status": "string",
"credit_note_status_id": 0,
"currency": "string",
"currency_value": 0,
"total": 0,
"cost": 0,
"date_added": "string",
"date_modified": "string",
"comment": "string",
"locked": true,
"products": [
{
"credit_note_product_id": 0,
"imported_order_product_id": "string",
"item_id": 0,
"thumb": "string",
"name": "string",
"model": "string",
"sku": "string",
"quantity": 0,
"price": 0,
"total": 0,
"cost": 0,
"restocked": true
}
]
}
}