When I POST
the route /v2/online-checkout/payment-links
in Sandbox mode with this line item…
{"catalog_object_id": "Z23CMMI5LMMQG3NFMUNNZYO4", "quantity": "1"}
…it works perfectly. However, in Production mode, the API responds with the error…
{code: 'MISSING_REQUIRED_PARAMETER', field: 'order.line_items[0].base_price_money', ...}
Neither the API Reference or API Explorer list this field as required. Also, the field is not required when making the same request with the API Explorer.
EDIT: Now it’s requiring name
as well. I’m still testing…
EDIT: Sorry, false alarm. I was providing undefined
for catalog_object_id