/orders/invoice

This API updates the Invoice code of an order. Multiple updates are allowed.

👍

Note

Orders belonging to any Fulfillment mode except SD+.
Allowed status: PFF

Request allowed values:
fulfillmentType - DROPSHIP, VENDOR_SELF, ONESHIP, OCPLUS

Request

ParameterNameDataTypeParameterTypeRequirementDescription
invoiceUpdatesMap<String, InvoiceCodeUpdate>BodyMandatoryIt is a Map<String, InvoiceCodeUpdate> where packageReferenceCode is the key and InvoiceCodeUpdate is the value.

InvoiceCodeUpdate

FieldNameDataTypeDescription
fulfillmentTypeStringFulfillment model
invoiceCodeStringInvoice code

Response

metadata :

FieldNameDataTypeDescription
requestIdStringUnique ID for the request
clientIdStringPartner Id
responseTimeLongResponse Time
requestedURIStringRequested URI
messageStringError message

payload :

FieldNameDataTypeDescription
invoiceUpdatesResponseMap<String, UpdateResponse>Map of packageReferenceCode and UpdateResponse

UpdateResponse

FieldNameDataTypeDescription
operationSuccessfulbooleanDescribes whether operation Successful or not
errorMessageStringError message will be given if operationSuccessful is false otherwise it will be null.
Language
Authorization