question

dvbangar8 avatar image
dvbangar8 asked parquet76 answered

create order in ecommerce not woking.

```

{
"message" : "403 Forbidden" ,
"error" : {
"code" : "processing_error" ,
"message" : "Invalid permissions for expandable fields."
} }

```


im using Postman and here im sending request https://scl-sandbox.dev.clover.com/v1/orders and


here is products body


{ "currency": "cad", "email": "strdvbangar8@gmail.com", "items": [ { "name":"test", "amount": 120 } ]}

e-commerce api
10 |2000

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

1 Answer

·
parquet76 avatar image
parquet76 answered

It would be helpful if you would post the full request including the url. Also, I would recommend you use the atomic order endpoint to create orders, not the ecomm endpoint. More info here - https://docs.clover.com/docs/working-with-orders

10 |2000

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.

Welcome to the
Clover Developer Community