Bigcommerce API - In Orders, what does the id represent? -


in orders(https://developer.bigcommerce.com/api/stores/v2/orders), id represent? order_id? id explained in documentation "the id of order, read-only value. not pass in put or post."

however, if @ id property under order product(https://developer.bigcommerce.com/api/objects/v2/order_product), there id, order_id, , product_id.

i confused id represent in orders , order product.

both values represent individual auto assigned unique numbers. when upload or add new products each product assigned product_id , when order placed or in abandon cart saver feature gets assigned order_id.

if go bigcommerce product page , view-source see product_id

example <input type="hidden" name="product_id" value="94" />

hope helps


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -