Product Updates

Overview

AgriSmart can receive updates to an Applicator’s product list via an Amazon SQS FIFO queue. The messages sent to this queue can create new products or update existing products based on an alphanumeric code attribute used to identify products across a customer’s systems.

SQS Message Requirements

MessageDeduplicationId

These queues will use ContentBasedDeduplication for managing duplicate messages sent within the 5-minute deduplication interval so no MessageDeduplicationId is required for messages sent to our product-update queues.

MessageGroupID

These queues will depend on the use of an appropriate MessageGroupID to ensure that messages related to a specific product code are received in the correct order. You should include the product’s code in the MessageGroupID.

Product Update Message Attributes

Attribute Description
code The unique alphanumeric code that identifies the product between the Applicator’s various systems. The code is required when updating or creating products since it identifies the product.
price The price the Applicator charges for the product.

Product Categories

The following product categories are used in AgriSmart’s products:

  • Insecticide
  • Fungicide
  • Adjuvant
  • Herbicide
  • PGR
  • Dry Fertilizer
  • Liquid Fertilizer
  • Seed
  • Other

Nutrients

The following nutrients are used in AgriSmart’s products:

  • N
  • P
  • K
  • S
  • Zn
  • B
  • Cu
  • Fe
  • Mg
  • Mn
  • Mo
  • Cl
  • Ca
  • Gypsum

Sample

 {
  "code": "1234",
  "price": 1234.56
}