Thanks for clarifying that @Ricardo !
So based on the example on apiary we currently have this payload when we request the label to your endpoint:
{
"shipping_name": "Manual Order Shipping Method",
"to_address": {
"city": "SAN FRANCISCO",
"state": "CA",
"zip": "94105",
"name": "test order",
"address_2": "",
"country": "US",
"address_1": "123 MAIN ST",
"email": "none@none.com",
"phone": "",
"company_name": ""
},
"shipping_method": "My Carrier",
"order_id": "83478763",
"packages": [
{
"width": 10,
"weight_in_oz": 11,
"length": 10,
"line_items": [
{
"tariff_code": "0",
"price": "0.00",
"customs_description": null,
"customs_value": "0.00",
"line_item_id": "225458557",
"barcode_exists": "0",
"partner_line_item_id": "MO114-265348960",
"sku": "yellow-kit",
"barcode_scanned": "0",
"name": "Yellow Kit",
"ignore_on_customs": false,
"product_name": "Yellow Kit",
"quantity": "2"
}
],
"height": 10
}
],
"order_number": "MO114",
"partner_order_id": "MO114",
"from_address": {
"city": "Garnerville",
"state": "NY",
"zip": "10923",
"name": "ShipHero Apparel",
"address_2": "",
"country": "US",
"address_1": "123 Main St",
"email": "hello@shiphero.com",
"phone": "11111111111",
"company_name": ""
}
}
And this request would be to add one field called, for example, "payment_gateway": "Payment Method1" and will be on the payload here:
{
"shipping_name": "Manual Order Shipping Method",
"to_address": {
"city": "SAN FRANCISCO",
"state": "CA",
"zip": "94105",
"name": "test order",
"address_2": "",
"country": "US",
"address_1": "123 MAIN ST",
"email": "none@none.com",
"phone": "",
"company_name": ""
},
"shipping_method": "My Carrier",
"payment_gateway": "Payment Method1"
"order_id": "83478763",
"packages": [
{
"width": 10,
"weight_in_oz": 11,
"length": 10,
"line_items": [
{
"tariff_code": "0",
"price": "0.00",
"customs_description": null,
"customs_value": "0.00",
"line_item_id": "225458557",
"barcode_exists": "0",
"partner_line_item_id": "MO114-265348960",
"sku": "yellow-kit",
"barcode_scanned": "0",
"name": "Yellow Kit",
"ignore_on_customs": false,
"product_name": "Yellow Kit",
"quantity": "2"
}
],
"height": 10
}
],
"order_number": "MO114",
"partner_order_id": "MO114",
"from_address": {
"city": "Garnerville",
"state": "NY",
"zip": "10923",
"name": "ShipHero Apparel",
"address_2": "",
"country": "US",
"address_1": "123 Main St",
"email": "hello@shiphero.com",
"phone": "11111111111",
"company_name": ""
}
}
Is that correct?