Skip to main content
PUT
Node.js

Authorizations

Authorization
string
header
required

A buyer's token, from Sign in with the code: Authorization: Bearer shoply_ct_.... It reaches that buyer's own orders at one store, and no route that takes a key.

Path Parameters

storeId
string
required

The store's ID, from Settings, General in its dashboard. It is not a secret: a page may show it.

Body

application/json
code
string
required

What the link ends in: letters, digits and dashes, as long as limits on the affiliate page says. One affiliate a code in a store.

Example:

"ada"

Response

It worked.

success
boolean
message
unknown
code
unknown
data
object