Commerce

Endpoints related to commerce.

GET /secure-checkout-directory/
Query Parameters:
  • limit (integer) – Maximum number of resources to return

  • offset (integer) – Number of resources to skip

  • sort (string) – Sort order (prefix with ‘-’ for descending)

Status Codes:
POST /secure-checkout-directory/
Status Codes:
Response Headers:
  • Location – URI of the created resource

GET /secure-checkout-directory/{uuid}/
Parameters:
  • uuid (string) – The UUID of the resource

Status Codes:
PUT /secure-checkout-directory/{uuid}/
Parameters:
  • uuid (string) – The UUID of the resource

Status Codes:
DELETE /secure-checkout-directory/{uuid}/
Parameters:
  • uuid (string) – The UUID of the resource

Status Codes:
GET /secure-file-checkout/
Query Parameters:
  • limit (integer) – Maximum number of resources to return

  • offset (integer) – Number of resources to skip

  • sort (string) – Sort order (prefix with ‘-’ for descending)

Status Codes:
POST /secure-file-checkout/
Status Codes:
Response Headers:
  • Location – URI of the created resource

GET /secure-file-checkout/{uuid}/
Parameters:
  • uuid (string) – The UUID of the resource

Status Codes:
PUT /secure-file-checkout/{uuid}/
Parameters:
  • uuid (string) – The UUID of the resource

Status Codes:
DELETE /secure-file-checkout/{uuid}/
Parameters:
  • uuid (string) – The UUID of the resource

Status Codes:
GET /shopping-cart/
Query Parameters:
  • limit (integer) – Maximum number of resources to return

  • offset (integer) – Number of resources to skip

  • sort (string) – Sort order (prefix with ‘-’ for descending)

Status Codes:
  • 200 OK – Successful response with list of resources

  • 404 Not Found – The requested shopping_cart cannot be found.

  • 405 Method Not Allowed – MethodNotAllowed

  • 400 Bad Request – You already have a shopping cart and aren’t allowed to create another. You are unable to checkout an empty shopping cart. Invalid payload.

POST /shopping-cart/
Status Codes:
  • 201 Created – Resource created successfully

  • 404 Not Found – The requested shopping_cart cannot be found.

  • 405 Method Not Allowed – MethodNotAllowed

  • 400 Bad Request – You already have a shopping cart and aren’t allowed to create another. You are unable to checkout an empty shopping cart. Invalid payload.

Response Headers:
  • Location – URI of the created resource

GET /shopping-cart/{uuid}/
Parameters:
  • uuid (string) – The UUID of the resource

Status Codes:
  • 200 OK – Successful response

  • 404 Not Found – The requested shopping_cart cannot be found.

  • 405 Method Not Allowed – MethodNotAllowed

  • 400 Bad Request – You already have a shopping cart and aren’t allowed to create another. You are unable to checkout an empty shopping cart. Invalid payload.

PUT /shopping-cart/{uuid}/
Parameters:
  • uuid (string) – The UUID of the resource

Status Codes:
DELETE /shopping-cart/{uuid}/
Parameters:
  • uuid (string) – The UUID of the resource

Status Codes:
GET /shopping-cart-item/
Query Parameters:
  • limit (integer) – Maximum number of resources to return

  • offset (integer) – Number of resources to skip

  • sort (string) – Sort order (prefix with ‘-’ for descending)

Status Codes:
  • 200 OK – Successful response with list of resources

  • 404 Not Found – The requested shopping-cart-item cannot be found.

  • 400 Bad Request – You are unable to add an item to shopping-cart prior to castor analysis being performed. Shopping Cart Item does not have a final price Invalid Payload

POST /shopping-cart-item/
Status Codes:
  • 201 Created – Resource created successfully

  • 404 Not Found – The requested shopping-cart-item cannot be found.

  • 400 Bad Request – You are unable to add an item to shopping-cart prior to castor analysis being performed. Shopping Cart Item does not have a final price Invalid Payload

Response Headers:
  • Location – URI of the created resource

GET /shopping-cart-item/{uuid}/
Parameters:
  • uuid (string) – The UUID of the resource

Status Codes:
  • 200 OK – Successful response

  • 404 Not Found – The requested shopping-cart-item cannot be found.

  • 400 Bad Request – You are unable to add an item to shopping-cart prior to castor analysis being performed. Shopping Cart Item does not have a final price Invalid Payload

PUT /shopping-cart-item/{uuid}/
Parameters:
  • uuid (string) – The UUID of the resource

Status Codes:
  • 204 No Content – Resource updated successfully

  • 404 Not Found – The requested shopping-cart-item cannot be found.

  • 400 Bad Request – You are unable to add an item to shopping-cart prior to castor analysis being performed. Shopping Cart Item does not have a final price Invalid Payload

DELETE /shopping-cart-item/{uuid}/
Parameters:
  • uuid (string) – The UUID of the resource

Status Codes:
  • 204 No Content – Resource deleted successfully

  • 404 Not Found – The requested shopping-cart-item cannot be found.

  • 400 Bad Request – You are unable to add an item to shopping-cart prior to castor analysis being performed. Shopping Cart Item does not have a final price Invalid Payload