question

itisdesign avatar image
0 Likes"
itisdesign asked ·

Fulfillment API doc inconsistency regarding LineItemReference quantity

Hi eBay, "Create a Shipping Fulfillment" doc says LineItemReference format is {"lineItemId": string, "quantity": integer}. - note: LineItemReference format contains "quantity" - see: http://developer.ebay.com/devzone/rest/api-ref/fulfillment/order-orderId_shipping_fulfillment__post.html "Get Shipping Fulfillments" and "Get a Shipping Fulfillment" docs say LineItemReference format is {"lineItemId": string}. - note: LineItemReference format does not contain "quantity" - see: http://developer.ebay.com/devzone/rest/api-ref/fulfillment/order-orderId_shipping_fulfillment__get.html - see: http://developer.ebay.com/devzone/rest/api-ref/fulfillment/order-orderId_shipping_fulfillment-fulfillmentId__get.html "LineItemReference" doc says LineItemReference format is {"lineItemId": string, "quantity": integer}. - note: LineItemReference format contains "quantity" - see: http://developer.ebay.com/devzone/rest/api-ref/fulfillment/types/LineItemReference.html Issue: Two docs say LineItemReference format contains "quantity". Two docs say LineItemReference does not contain "quantity". Question: Which one is correct? After answering, please make the docs consistent/correct. Thanks!, -Aaron
fulfillment apiquantitydocumentationlineitemreference
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

nebula-us avatar image
1 Like"
nebula-us answered ·
Hi Aaron @itisdesign, The **LineItemReference** type does indeed contain the **lineItemId** (string) and **quantity** (integer) fields. However, both fields are not always used. The **quantity** field is not returned in the response payload of the **Get Fulfillment** calls, and it is optional in the request payload of the **Create a Fulfillment** call. The **lineItemId** field id always required for requests and always returned in responses. This is not obvious in the doc, so I will add a clarifying note. Cheers, Dai ,Hi Aaron @itisdesign, The **LineItemReference** type does indeed contain the **lineItemId** (string) and **quantity** (integer) fields. However, both fields are not always used. The **quantity** field is not returned in the response payload of the **Get Fulfillment** calls, and it is optional in the request payload of the **Create a Fulfillment** call. The **lineItemId** field id always required for requests and always returned in responses. This is not made clear in the doc, so I will add a clarifying note. Cheers, Dai
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

itisdesign avatar image
0 Likes"
itisdesign answered ·
Hi Dai, Regarding: "The quantity field is not returned in the response payload of the Get Fulfillment calls". If quantity is specifiable when creating a fulfillment, then it should be returned when getting the fulfillment's details. Example: If a LineItem's quantity can be split amongst multiple Fulfillments, then it becomes necessary to know how much of the quantity was assigned to each fulfillment. Thus, the Get Fulfillment calls need to return quantity. Right? Thanks!, -Aaron
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.